package io.renren.sf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 
 * 
 * @author tongxiaowu
 * @email 15755337992@163.com
 * @date 2021-08-07 14:31:51
 */
@Data
@Accessors(chain = true)
@TableName("hz_teacher_role")
public class TeacherRoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 老师角色id
	 */
	@TableId(type = IdType.ID_WORKER)
	private Long id;
	/**
	 * 老师id
	 */
	private Long tid;
	/**
	 * 课本角色id
	 */
	private Long rid;

}
